<?    
    print modules::run("website/big_images/products_by_category",$cat['id_Categories']);  
?>


    
  <div id="content-wrap">
  <div class="inner">

    <div class="left">

        <?=modules::run("website/product_search/quick_search");?>   
        
        <?      
        if ($cat["id_Categories"] == ONE_OFF_CAT_ID) 
            print modules::run("subnavigation/submenu/products_one_off", $cat['id_Categories']);
        else if(isset($parent_cat))
            print modules::run("subnavigation/submenu/products_by_subcategory", $cat['id_Categories']);
        else  
            print modules::run("subnavigation/submenu/products_by_category", $cat['id_Categories']);
        ?>                                                            

        <?=modules::run("website/product_search/recent_searches");?>  


    </div>


    
    <div class="right">
                                       
    <? // Breadcrumbs            
    $breadcrumbs[] = array('display' => 'products', 'controller' => 'products', 'title' => 'Products');
    if ($cat['id_Categories'] !== ONE_OFF_CAT_ID)
        $breadcrumbs[] = array('display' => 'products by category', 'controller' => 'products/categories', 'title' => 'Products by Category');
    if(isset($parent_cat)) 
        $breadcrumbs[] = array('display' => $parent_cat["Title_Categories"], 'controller' => 'products/categories/'.$parent_cat["id_Categories"], 'title' => ucwords($parent_cat["Title_Categories"]));
    $breadcrumbs[] = array('display' => strtolower($cat['Title_Categories']));
    print modules::run("subnavigation/breadcrumb/view", $breadcrumbs);
    ?>                     


    <h1><?=$cat["Title_Categories"]?></h1>

    <? if($cat["Introduction_Categories"] != ""){ ?>
    <p class="sansserif"><?=$cat["Introduction_Categories"]?></p>
    <? } ?>

    <? if($cat["Description_Categories"] != ""){ ?>
    <div class="sansserif"><?=$cat["Description_Categories"]?></div>
    <? } ?>  

    <? if (empty($list["items"])) { ?>

        <p>There are currently no products in this category</p>
        
    <? } else {
		
		$list['img_folder'] = base_url().UPLOADS_FOLDER.PRODUCT_IMG_FOLDER;
		$this->load->view('website/lists/default_items', $list);
		
	} ?>


            <div class="widget">    
        <!-- AddThis Button BEGIN -->
<a href="http://www.addthis.com/bookmark.php?v=250" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a360d252cc10889"></script>
<script type="text/javascript">
var addthis_exclude = 'email, print';
</script>

<!-- AddThis Button END -->
</div>
        
    </div>
  </div>
  </div>
